package com.lxmes.sales.service;

import java.util.List;
import com.lxmes.sales.domain.NcShareControlMaster;

/**
 * 份额控制总Service接口
 *
 * @author lx
 * @date 2023-06-06
 */
public interface INcShareControlMasterService
{
    /**
     * 查询份额控制总
     *
     * @param id 份额控制总主键
     * @return 份额控制总
     */
    public NcShareControlMaster selectNcShareControlMasterById(Long id);

    /**
     * 查询份额控制总列表
     *
     * @param ncShareControlMaster 份额控制总
     * @return 份额控制总集合
     */
    public List<NcShareControlMaster> selectNcShareControlMasterList(NcShareControlMaster ncShareControlMaster);

    /**
     * 新增份额控制总
     *
     * @param ncShareControlMaster 份额控制总
     * @return 结果
     */
    public int insertNcShareControlMaster(NcShareControlMaster ncShareControlMaster);

    /**
     * 修改份额控制总
     *
     * @param ncShareControlMaster 份额控制总
     * @return 结果
     */
    public int updateNcShareControlMaster(NcShareControlMaster ncShareControlMaster);

    /**
     * 批量删除份额控制总
     *
     * @param ids 需要删除的份额控制总主键集合
     * @return 结果
     */
    public int deleteNcShareControlMasterByIds(Long[] ids);

    /**
     * 删除份额控制总信息
     *
     * @param id 份额控制总主键
     * @return 结果
     */
    public int deleteNcShareControlMasterById(Long id);
    /**
     * 导入份额控制总信息
     *
     * @return 结果
     */
    String imporIteminfo(List<NcShareControlMaster> ncShareControlMasterList, boolean updateSupport, String operName);

    int selectStatisNum(NcShareControlMaster ncShareControlMaster);
}
